home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 6e 65 | 77 73 2e 6d 61 75 69 2e |Path: ne|ws.maui.|
|00000010| 63 6f 6d 21 6e 65 77 73 | 0a 46 72 6f 6d 3a 20 22 |com!news|.From: "|
|00000020| 50 61 75 6c 20 41 2e 20 | 42 69 6c 6c 69 6e 67 73 |Paul A. |Billings|
|00000030| 22 20 3c 70 61 62 40 6d | 61 75 69 2e 63 6f 6d 3e |" <pab@m|aui.com>|
|00000040| 0a 4e 65 77 73 67 72 6f | 75 70 73 3a 20 63 6f 6d |.Newsgro|ups: com|
|00000050| 70 2e 6c 61 6e 67 2e 63 | 2b 2b 2c 63 6f 6d 70 2e |p.lang.c|++,comp.|
|00000060| 6f 73 2e 6d 73 2d 77 69 | 6e 64 6f 77 73 2e 70 72 |os.ms-wi|ndows.pr|
|00000070| 6f 67 72 61 6d 6d 65 72 | 2e 74 6f 6f 6c 73 2e 6d |ogrammer|.tools.m|
|00000080| 66 63 0a 53 75 62 6a 65 | 63 74 3a 20 52 65 3a 20 |fc.Subje|ct: Re: |
|00000090| 4e 65 77 62 69 65 20 71 | 75 65 73 74 69 6f 6e 3a |Newbie q|uestion:|
|000000a0| 20 64 65 66 61 75 6c 74 | 20 6f 70 3d 0a 44 61 74 | default| op=.Dat|
|000000b0| 65 3a 20 32 36 20 4a 61 | 6e 20 31 39 39 36 20 31 |e: 26 Ja|n 1996 1|
|000000c0| 39 3a 33 34 3a 34 35 20 | 47 4d 54 0a 4f 72 67 61 |9:34:45 |GMT.Orga|
|000000d0| 6e 69 7a 61 74 69 6f 6e | 3a 20 4d 61 75 69 20 41 |nization|: Maui A|
|000000e0| 6e 61 6c 79 73 69 73 20 | 61 6e 64 20 53 79 6e 74 |nalysis |and Synt|
|000000f0| 68 65 73 69 73 20 54 65 | 63 68 6e 6f 6c 6f 67 69 |hesis Te|chnologi|
|00000100| 65 73 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |es.Messa|ge-ID: <|
|00000110| 34 65 62 61 63 6c 24 63 | 61 34 40 77 61 65 6e 61 |4ebacl$c|a4@waena|
|00000120| 2e 6d 61 75 69 2e 63 6f | 6d 3e 0a 52 65 66 65 72 |.maui.co|m>.Refer|
|00000130| 65 6e 63 65 73 3a 20 3c | 33 30 46 45 41 30 42 34 |ences: <|30FEA0B4|
|00000140| 2e 34 46 36 36 40 79 6d | 69 2e 63 6f 6d 3e 0a 4e |.4F66@ym|i.com>.N|
|00000150| 4e 54 50 2d 50 6f 73 74 | 69 6e 67 2d 48 6f 73 74 |NTP-Post|ing-Host|
|00000160| 3a 20 6d 72 39 2d 30 34 | 30 2e 64 69 61 67 73 6f |: mr9-04|0.diagso|
|00000170| 66 74 2e 6d 61 75 69 2e | 63 6f 6d 0a 4d 69 6d 65 |ft.maui.|com.Mime|
|00000180| 2d 56 65 72 73 69 6f 6e | 3a 20 31 2e 30 0a 43 6f |-Version|: 1.0.Co|
|00000190| 6e 74 65 6e 74 2d 54 79 | 70 65 3a 20 74 65 78 74 |ntent-Ty|pe: text|
|000001a0| 2f 70 6c 61 69 6e 3b 20 | 63 68 61 72 73 65 74 3d |/plain; |charset=|
|000001b0| 75 73 2d 61 73 63 69 69 | 0a 43 6f 6e 74 65 6e 74 |us-ascii|.Content|
|000001c0| 2d 54 72 61 6e 73 66 65 | 72 2d 45 6e 63 6f 64 69 |-Transfe|r-Encodi|
|000001d0| 6e 67 3a 20 37 62 69 74 | 0a 58 2d 4d 61 69 6c 65 |ng: 7bit|.X-Maile|
|000001e0| 72 3a 20 4d 6f 7a 69 6c | 6c 61 20 31 2e 32 4e 20 |r: Mozil|la 1.2N |
|000001f0| 28 57 69 6e 64 6f 77 73 | 3b 20 49 3b 20 33 32 62 |(Windows|; I; 32b|
|00000200| 69 74 29 0a 54 6f 3a 20 | 6b 65 61 79 73 40 79 6d |it).To: |keays@ym|
|00000210| 69 2e 63 6f 6d 0a 0a 4a | 65 66 66 72 65 79 20 4b |i.com..J|effrey K|
|00000220| 65 61 79 73 20 3c 6b 65 | 61 79 73 40 79 6d 69 2e |eays <ke|ays@ymi.|
|00000230| 63 6f 6d 3e 20 77 72 6f | 74 65 3a 0a 3e 49 20 61 |com> wro|te:.>I a|
|00000240| 6d 20 74 72 79 69 6e 67 | 20 74 6f 20 75 73 65 20 |m trying| to use |
|00000250| 74 68 65 20 26 2a 25 24 | 20 4d 46 43 20 63 6f 6c |the &*%$| MFC col|
|00000260| 6c 65 63 74 69 6f 6e 73 | 20 69 6e 20 73 6f 6d 65 |lections| in some|
|00000270| 20 77 61 79 20 74 68 61 | 74 20 77 69 6c 6c 20 64 | way tha|t will d|
|00000280| 69 73 70 6f 73 65 20 6f | 66 20 69 74 73 20 63 6f |ispose o|f its co|
|00000290| 6e 74 65 6e 74 73 20 6f | 6e 20 64 65 73 74 72 75 |ntents o|n destru|
|000002a0| 63 74 69 6f 6e 2e 20 20 | 49 6e 20 0a 3e 6d 79 20 |ction. |In .>my |
|000002b0| 32 2d 64 61 79 73 20 61 | 6e 64 20 63 6f 75 6e 74 |2-days a|nd count|
|000002c0| 69 6e 67 20 6f 66 20 72 | 61 6d 6d 69 6e 67 20 6d |ing of r|amming m|
|000002d0| 79 20 68 65 61 64 20 72 | 65 70 65 61 74 65 64 6c |y head r|epeatedl|
|000002e0| 79 20 61 67 61 69 6e 73 | 74 20 74 68 69 73 20 62 |y agains|t this b|
|000002f0| 72 69 63 6b 20 77 61 6c | 6c 20 6f 76 65 72 20 73 |rick wal|l over s|
|00000300| 6f 6d 65 74 68 69 6e 67 | 20 74 68 61 74 20 73 68 |omething| that sh|
|00000310| 6f 75 6c 64 20 62 65 20 | 6d 61 64 65 20 0a 3e 27 |ould be |made .>'|
|00000320| 65 61 73 69 65 72 27 20 | 62 79 20 74 68 65 6d 2c |easier' |by them,|
|00000330| 20 49 20 68 61 76 65 20 | 74 68 69 73 20 67 65 6e | I have |this gen|
|00000340| 65 72 61 6c 20 43 2b 2b | 20 71 75 65 73 74 69 6f |eral C++| questio|
|00000350| 6e 2e 0a 3e 0a 3e 57 68 | 79 20 69 73 20 69 74 20 |n..>.>Wh|y is it |
|00000360| 6d 61 6b 69 6e 67 20 6d | 65 20 63 72 65 61 74 65 |making m|e create|
|00000370| 20 6f 70 65 72 61 74 6f | 72 3d 20 66 75 6e 63 74 | operato|r= funct|
|00000380| 69 6f 6e 73 20 66 6f 72 | 20 61 73 73 69 67 6e 6d |ions for| assignm|
|00000390| 65 6e 74 20 6f 66 20 74 | 68 65 20 73 61 6d 65 20 |ent of t|he same |
|000003a0| 74 79 70 65 20 28 6f 72 | 20 69 6e 73 74 61 6e 63 |type (or| instanc|
|000003b0| 65 20 2f 20 72 65 66 65 | 72 65 6e 63 65 20 6f 66 |e / refe|rence of|
|000003c0| 20 74 68 65 20 0a 3e 73 | 61 6d 65 20 74 79 70 65 | the .>s|ame type|
|000003d0| 29 2e 20 20 54 68 65 20 | 63 6c 61 73 73 20 49 27 |). The |class I'|
|000003e0| 6d 20 74 72 79 69 6e 67 | 20 74 6f 20 61 73 73 69 |m trying| to assi|
|000003f0| 67 6e 20 68 61 73 20 6e | 6f 20 70 6f 69 6e 74 65 |gn has n|o pointe|
|00000400| 72 73 20 6f 72 20 61 6e | 79 74 68 69 6e 67 20 74 |rs or an|ything t|
|00000410| 68 61 74 20 77 6f 75 6c | 64 20 72 65 71 75 69 72 |hat woul|d requir|
|00000420| 65 20 73 70 65 63 69 61 | 6c 20 68 61 6e 64 6c 69 |e specia|l handli|
|00000430| 6e 67 2e 20 20 0a 3e 57 | 68 79 20 64 6f 20 49 20 |ng. .>W|hy do I |
|00000440| 68 61 76 65 20 74 6f 20 | 77 72 69 74 65 20 73 74 |have to |write st|
|00000450| 75 70 69 64 20 74 68 69 | 6e 67 73 20 6c 69 6b 65 |upid thi|ngs like|
|00000460| 0a 3e 0a 3e 63 6c 61 73 | 73 20 66 6f 6f 20 7b 0a |.>.>clas|s foo {.|
|00000470| 3e 09 69 6e 74 20 64 61 | 74 61 31 3b 0a 3e 09 64 |>.int da|ta1;.>.d|
|00000480| 6f 75 62 6c 65 20 64 61 | 74 61 32 3b 0a 3e 09 43 |ouble da|ta2;.>.C|
|00000490| 53 74 72 69 6e 67 20 64 | 61 74 61 33 3b 0a 3e 09 |String d|ata3;.>.|
|000004a0| 2f 2f 20 2e 2e 2e 20 61 | 64 20 69 6e 66 69 6e 69 |// ... a|d infini|
|000004b0| 74 75 6d 0a 3e 70 75 62 | 6c 69 63 3a 0a 3e 09 66 |tum.>pub|lic:.>.f|
|000004c0| 6f 6f 26 20 6f 70 65 72 | 61 74 6f 72 3d 28 63 6f |oo& oper|ator=(co|
|000004d0| 6e 73 74 20 66 6f 6f 20 | 26 29 3b 0a 3e 7d 0a 3e |nst foo |&);.>}.>|
|000004e0| 0a 3e 66 6f 6f 26 20 66 | 6f 6f 3a 3a 6f 70 65 72 |.>foo& f|oo::oper|
|000004f0| 61 74 6f 72 3d 28 63 6f | 6e 73 74 20 66 6f 6f 20 |ator=(co|nst foo |
|00000500| 26 72 68 73 29 0a 3e 7b | 0a 3e 09 64 61 74 61 31 |&rhs).>{|.>.data1|
|00000510| 20 3d 20 72 68 73 2e 64 | 61 74 61 31 0a 3e 09 64 | = rhs.d|ata1.>.d|
|00000520| 61 74 61 32 20 3d 20 72 | 68 73 2e 64 61 74 61 32 |ata2 = r|hs.data2|
|00000530| 0a 3e 09 64 61 74 61 33 | 20 3d 20 72 68 73 2e 64 |.>.data3| = rhs.d|
|00000540| 61 74 61 33 0a 3e 09 2f | 2f 20 2e 2e 2e 20 2d 2d |ata3.>./|/ ... --|
|00000550| 20 49 20 73 68 6f 75 6c | 64 20 6e 6f 74 20 68 61 | I shoul|d not ha|
|00000560| 76 65 20 74 6f 20 77 72 | 69 74 65 20 74 68 69 73 |ve to wr|ite this|
|00000570| 2c 20 69 74 20 73 68 6f | 75 6c 64 20 62 65 20 41 |, it sho|uld be A|
|00000580| 53 53 55 4d 45 44 20 0a | 3e 09 2f 2f 09 09 62 79 |SSUMED .|>.//..by|
|00000590| 20 74 68 65 20 63 6f 6d | 70 69 6c 65 72 20 69 66 | the com|piler if|
|000005a0| 20 49 20 64 6f 6e 27 74 | 20 73 70 65 63 69 66 79 | I don't| specify|
|000005b0| 20 6f 74 68 65 72 77 69 | 73 65 2e 0a 3e 7d 0a 0a | otherwi|se..>}..|
|000005c0| 0a 52 65 6c 79 69 6e 67 | 20 6f 6e 20 61 6e 79 20 |.Relying| on any |
|000005d0| 63 6f 6d 70 69 6c 65 72 | 20 62 69 74 2d 77 69 73 |compiler| bit-wis|
|000005e0| 65 20 63 6f 70 79 20 69 | 73 20 4f 4b 20 69 66 20 |e copy i|s OK if |
|000005f0| 75 73 69 6e 67 20 65 6c | 65 6d 65 6e 74 61 6c 20 |using el|emental |
|00000600| 0a 74 79 70 65 73 2c 20 | 62 75 74 20 61 73 20 73 |.types, |but as s|
|00000610| 6f 6f 6e 20 61 73 20 79 | 6f 75 20 74 68 72 65 77 |oon as y|ou threw|
|00000620| 20 43 53 74 72 69 6e 67 | 20 69 6e 20 74 68 65 72 | CString| in ther|
|00000630| 65 2c 20 79 6f 75 20 0a | 63 6f 6d 70 6c 69 63 61 |e, you .|complica|
|00000640| 74 65 64 20 74 68 69 6e | 67 73 2e 20 20 59 6f 75 |ted thin|gs. You|
|00000650| 20 64 6f 6e 27 74 20 77 | 61 6e 74 20 74 6f 20 63 | don't w|ant to c|
|00000660| 6f 70 79 20 74 68 65 20 | 43 53 74 72 69 6e 67 2c |opy the |CString,|
|00000670| 20 79 6f 75 20 0a 77 61 | 6e 74 20 74 6f 20 63 61 | you .wa|nt to ca|
|00000680| 6c 6c 20 43 53 74 72 69 | 6e 67 3a 3a 6f 70 65 72 |ll CStri|ng::oper|
|00000690| 61 74 6f 72 20 3d 28 29 | 2e 20 20 53 6f 6f 6f 2c |ator =()|. Sooo,|
|000006a0| 20 66 6f 72 6d 20 74 68 | 61 74 20 0a 73 74 61 6e | form th|at .stan|
|000006b0| 64 70 6f 69 6e 74 2c 20 | 79 6f 75 20 2a 73 68 6f |dpoint, |you *sho|
|000006c0| 75 6c 64 2a 20 70 72 6f | 76 69 64 65 20 3d 28 29 |uld* pro|vide =()|
|000006d0| 2e 0a 0a 0a 3e 09 6a 6f | 62 6c 69 73 74 2e 41 64 |....>.jo|blist.Ad|
|000006e0| 64 54 61 69 6c 28 4a 6f | 62 28 70 2c 20 77 66 64 |dTail(Jo|b(p, wfd|
|000006f0| 2e 63 46 69 6c 65 4e 61 | 6d 65 29 29 3b 0a 3e 54 |.cFileNa|me));.>T|
|00000700| 68 69 73 20 69 73 20 74 | 68 65 20 6c 69 6e 65 20 |his is t|he line |
|00000710| 69 6e 20 4d 46 43 20 77 | 69 74 68 20 74 68 65 20 |in MFC w|ith the |
|00000720| 63 6f 6d 70 6c 61 69 6e | 74 2c 0a 3e 09 70 4e 65 |complain|t,.>.pNe|
|00000730| 77 4e 6f 64 65 2d 3e 64 | 61 74 61 20 3d 20 6e 65 |wNode->d|ata = ne|
|00000740| 77 45 6c 65 6d 65 6e 74 | 3b 0a 3e 0a 3e 46 3a 5c |wElement|;.>.>F:\|
|00000750| 4d 53 44 45 56 5c 4d 46 | 43 5c 69 6e 63 6c 75 64 |MSDEV\MF|C\includ|
|00000760| 65 5c 61 66 78 74 65 6d | 70 6c 2e 68 28 38 31 33 |e\afxtem|pl.h(813|
|00000770| 29 20 3a 20 65 72 72 6f | 72 20 43 32 35 38 32 3a |) : erro|r C2582:|
|00000780| 20 27 4a 6f 62 27 20 3a | 20 27 6f 70 65 72 61 74 | 'Job' :| 'operat|
|00000790| 6f 72 20 3d 27 20 66 75 | 6e 63 74 69 6f 6e 20 69 |or =' fu|nction i|
|000007a0| 73 20 75 6e 61 76 61 69 | 6c 61 62 6c 65 0a 0a 41 |s unavai|lable..A|
|000007b0| 73 20 74 6f 20 77 68 79 | 20 74 68 65 20 63 6f 6d |s to why| the com|
|000007c0| 70 69 6c 65 72 20 63 6f | 6d 70 6c 61 69 6e 73 2c |piler co|mplains,|
|000007d0| 20 49 27 6d 20 75 6e 73 | 75 72 65 20 77 68 79 20 | I'm uns|ure why |
|000007e0| 69 74 20 64 6f 65 73 2e | 20 20 49 74 27 73 20 0a |it does.| It's .|
|000007f0| 73 75 70 70 6f 73 65 64 | 20 74 6f 20 75 73 65 20 |supposed| to use |
|00000800| 74 68 65 20 64 65 66 61 | 75 6c 74 20 3d 28 29 20 |the defa|ult =() |
|00000810| 69 66 20 6e 6f 6e 65 20 | 61 72 65 20 73 70 65 63 |if none |are spec|
|00000820| 69 66 69 65 64 2e 20 20 | 49 27 76 65 20 0a 62 65 |ified. |I've .be|
|00000830| 65 6e 20 62 75 72 6e 65 | 64 20 62 79 20 74 68 69 |en burne|d by thi|
|00000840| 73 20 62 65 63 61 75 73 | 65 20 6f 66 74 65 6e 20 |s becaus|e often |
|00000850| 74 68 65 20 62 69 74 2d | 77 69 73 65 20 63 6f 70 |the bit-|wise cop|
|00000860| 79 20 69 73 20 6e 6f 74 | 20 77 68 61 74 20 0a 79 |y is not| what .y|
|00000870| 6f 75 20 77 61 6e 74 2e | 20 20 53 6f 72 72 79 20 |ou want.| Sorry |
|00000880| 6e 6f 20 68 65 6c 70 20 | 68 65 72 65 2e 0a 0a 50 |no help |here...P|
|00000890| 61 75 6c 0a 0a | |aul.. | |
+--------+-------------------------+-------------------------+--------+--------+